package com.xwli.springcloud.gof23.strategy.behavior.impl;

import com.xwli.springcloud.gof23.strategy.behavior.FlyBehavior;

/**
 * @author xwli
 * @date: 2022/2/25 10:29
 * @desc  飞行的行为具体实现
 * @since JDK 1.8
 */
public class FlyWithWings implements FlyBehavior {

    @Override
    public void fly() {
        System.out.println("这类的鸭子用翅膀飞");
    }
}

